package com.xzavier.yunlian_interview.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.util.Date;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@TableName("studyduration")
public class StudyDuration {
    @TableId("id")
    private String id;
    @TableField("userId")
    private String userId;
    @TableField("questionId")
    private String questionId;
    @TableField("studyDate")
    private Date studyDate;
    @TableField("duration")
    private int duration;
    @TableField("createdAt")
    private Date createdAt;
}
